﻿@model Answer;
@{
    ViewBag.Title = "IIFOX Answer Detail";
    Layout = "_Layout_Detail2";
}

@section css {
}
@section javascript {
<script src="~/js/answer_detail.js" asp-append-version="true"></script>
}
<input id="hidKey" type="hidden" value="@Model.AE_ID" />

<div class="main-content">
    <section class="card" style="max-height:30rem; overflow-y:scroll">
        <div class="card-header alert-success">
            <form class="form-horizontal" id="frmTest">
                <div class="row">
                    <div class="form-group col-sm-3  col-md-3">

                        <label class="control-label" for="AE_ID123">AE_ID123</label>


                    </div>
                    <div class="form-group col-sm-6  col-md-6">

                        <label class="control-label" for="AE_ID123">MSG</label>


                    </div>
                    <div class="form-group col-sm-auto  col-md-auto">
                        <button type="button" class="btn btn-info">信息</button>
                        <button type="button" class="btn btn-warning">警告</button>
                        <button type="button" class="btn btn-danger">危险</button>
                    </div>

                </div>
            </form>
        </div>
        <div class="card-body">
            <form class="form-inline" id="frmTest1">
                <div class="row">
                    <div class="form-group col-sm-6  col-md-6">

                        <label class="control-label" for="AE_ID">AE_ID</label>
                        <input type="text" id="AE_ID222" class="form-control">

                    </div>
                    <div class="form-group col-sm-6  col-md-6">
                        <label class="control-label" for="IP">IP</label>
                        <input type="text" id="IP222" class="form-control">
                    </div>
                </div>
               
            </form>

            <form class="form-inline" id="frmTest3">
                <div class="row">
                    <div class="form-group col-12">
                        <label class="control-label" for="AE_ID123">AE_ID123</label>
                        <input id="AE_ID123222" class="form-control" />
                    </div>

                </div>
            </form>
            <form class="form-horizontal" id="frmTest123">
                <div class="row">
                    <div class="form-group col-sm-4  col-md-4">
                        <label class="control-label" for="AE_IDa">AE_ID</label>
                        <input type="text" id="AE_ID" class="form-control">
                    </div>
                    <div class="form-group col-sm-4  col-md-4">
                        <label class="control-label" for="IPaa">IP</label>
                        <input type="text" id="I13asdP" class="form-control">
                    </div>
                    <div class="form-group col-sm-4  col-md-4">
                        <label class="control-label" for="IPab">IP</label>
                        <input type="text" id="I123123P" class="form-control">
                    </div>
                </div>
                <div class="row">
                    <div class="form-group col-sm-2  col-md-2">
                        <label class="control-label" for="AE_IDba">AE_ID</label>
                        <input type="text" id="AE_ID123" class="form-control">
                    </div>
                    <div class="form-group col-sm-2  col-md-2">
                        <label class="control-label" for="IPav">IP</label>
                        <input type="text" id="IP2asdfsf22" class="form-control">
                    </div>
                    <div class="form-group col-sm-2  col-md-2">
                        <label class="control-label" for="IPae">IP</label>
                        <input type="text" id="IPqwe" class="form-control">
                    </div><div class="form-group col-sm-2  col-md-2">
                        <label class="control-label" for="AE_ID">AE_ID</label>
                        <input type="text" id="AE_I123D" class="form-control">
                    </div>
                    <div class="form-group col-sm-2  col-md-2">
                        <label class="control-label" for="IP">IP</label>
                        <input type="text" id="I33P" class="form-control">
                    </div>
                    <div class="form-group col-sm-2  col-md-2">
                        <label class="control-label" for="IP">IP</label>
                        <input type="text" id="I123asdfsf123P" class="form-control">
                    </div>

                </div>
            </form>
        </div>
        <div class="card-footer">
            <div class="form-inline">
                <div class="col-lg-offset-2 col-lg-10">
                    <button class="btn btn-primary" type="submit" id="btnSave1">Save</button>
                    <button class="btn btn-default" type="button" id="btnSave2">Cancel</button>
                </div>

            </div>

        </div>
    </section>

</div>

@section modal{
    @*<div class="modal fade" id="dialogNew" tabindex="-1" role="dialog" data-backdrop="static" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog modal-dialog-centered modal-lg" role="document">
        <div class="modal-content" data-toggle="LgbValidate" data-valid-button="#btnSubmit" data-valid-modal="#dialogNew">
            <div class="modal-header">
                <h5 class="modal-title" id="myModalLabel">用户编辑窗口</h5>
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
            </div>
            <div class="modal-body">
                <form class="form-inline">
                    <input type="hidden" id="userID" />
                    <div class="row">
                        <div class="form-inline col-sm-6">
                            <label class="control-label" for="userName">登陆名称</label>
                            <input type="text" class="form-control" id="userName" placeholder="不可为空，16字以内"
                                   minlength="4" maxlength="16" userName="true" remote="api/Register"
                                   data-remote-msg="此用户已存在" data-valid="true" />
                        </div>
                        <div class="form-inline col-sm-6">
                            <label class="control-label" for="displayName">显示名称</label>
                            <input type="text" class="form-control" id="displayName" placeholder="不可为空，20字以内" maxlength="20" data-valid="true" />
                        </div>
                        <div class="form-inline col-sm-6">
                            <label class="control-label" for="password">登录密码</label>
                            <input type="password" class="form-control" id="password" placeholder="不可为空，16字以内" maxlength="16" data-valid="true" />
                        </div>
                        <div class="form-inline col-sm-6">
                            <label class="control-label" for="confirm">确认密码</label>
                            <input type="password" class="form-control" id="confirm" placeholder="与登陆密码一致" maxlength="16" equalTo="#password" data-valid="true" />
                        </div>
                    </div>

                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-secondary" data-dismiss="modal">
                    <i class="fa fa-times"></i>
                    <span>关闭</span>
                </button>
                <button type="button" class="btn btn-primary" id="btnSubmit">
                    <i class="fa fa-save"></i>
                    <span>保存</span>
                </button>
            </div>

        </div>
    </div>
</div>*@
<div class="modal fade" id="dialogNew" tabindex="-1" role="dialog" data-backdrop="static" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog modal-dialog-centered modal-lg" role="document">
        <div class="modal-content" data-toggle="LgbValidate"
             data-valid-button="#btnSubmit" data-valid-modal="#dialogNew">
            <div class="modal-header">
                <h5 class="modal-title" id="myModalLabel">选择框</h5>
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
            </div>
            <div class="modal-body">
                <form class="form-inline">
                    <div class="row">
                        <div class="form-group col-sm-5 col-md-auto">
                            <label class="control-label" for="txt_IP">IP地址</label>
                            <input type="text" class="form-control required" id="txt_IP"
                                   maxlength="16" />
                        </div>
                        <div class="form-group col-sm-5 col-md-auto">
                            <label class="control-label" for="txt_Phone">Phone号码</label>
                            <input type="text" class="form-control" id="txt_Phone" maxlength="20" />
                        </div>
                        <div class="form-group col-sm-2 col-md-auto flex-md-fill justify-content-md-end">
                            <button type="button" id="btn_query"
                                    class="btn btn-primary btn-fill align-self-sm-end align-self-md-auto">
                                <i class="fa fa-search" aria-hidden="true"></i><span>查询</span>
                            </button>
                            <button type="button" id="btn_confirm"
                                    class="btn btn-success btn-fill align-self-sm-end align-self-md-auto">
                                <i class="fa fa-search" aria-hidden="true"></i><span>确定返回</span>
                            </button>
                        </div>
                    </div>
                </form>
                <table></table>
            </div>


        </div>
    </div>
</div>


}

@section tabs{
<div class="nav-ba">
    <div class="nav-prev" data-method="prev">
        <a class="nav-link" href="#"><i class="fa fa-chevron-circle-left"></i></a>
    </div>
    <div class="flex-fill" style="overflow: hidden;">
        <ul class="nav nav-tabs">

            <li class="nav-item">
                <a class="nav-link active" href="~/iifox/answer">
                    <span>后台管理</span>
                </a>

            </li>
            <li class="nav-item">
                <a class="nav-link" href="~/admin/users">
                    <span>后台管理1</span>
                </a>

            </li>
            <li class="nav-item flex-fill">
                <a class="nav-link flex-fill" href="#">&nbsp;</a>
            </li>
        </ul>
    </div>
    <div class="nav-next" data-method="next">
        <a class="nav-link" href="#"><i class="fa  fa-chevron-circle-right"></i></a>
    </div>
</div>
<iframe frameborder="0" height="100%" width="100%" class="active" src="~/iifox/answer"></iframe>
<iframe frameborder="0" height="100%" width="100%" class="" src="~/admin/users"></iframe>

}